$(document).ready(function () {
	$(".apply-change").click(function () {
		var action = $(".action-value").val();
		var url = "/website/process";
		
		if (jQuery("#list-table tbody tr td input:checked").length) {
			multiple_action(action, url);
		} else {
			alert("No item selected.");
		}
		
	});
	
	jQuery("#list-table .delete").click(function () {
		var answer=confirm("Are you realy delete this website?");
		if(answer) {
			return true;
		}
		return false;
	});
});